<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'website-form',
	'enableAjaxValidation'=>false,
)); ?>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		输入域名
		<?php echo $form->textField($model,'domain',array('size'=>30,'maxlength'=>50)); ?>
		<?php echo CHtml::submitButton('添加网站'); ?>
		<?php echo $form->error($model,'domain'); ?>
	</div>
<?php $this->endWidget(); ?>

</div><!-- form -->